Javascript: Identify when a new second element appears and use function only on the older one (mutat

join shbcf.ru